package com.zhongxi.guoyuan.entity;

import java.util.List;

/**
 * Created by qj on 2018/4/21.
 */

public class HomeSearchResult {

    /**
     * code : 1
     * data : [{"address":"河南省郑州市二七塔","cateid":"off51075abcb10bf2256","ctime":"2018-04-03 09:16:25","discount":"100","id":"ofs24205ac2d5e98bc4a","latitude":"34.75661","longitude":"113.649644","name":"小李的店","ordernum":0,"phone":"15617567272","starlevel":3,"subject":"本店服务优良","thumbnail":"/Uploads/000/00/00/58.thumb.jpg","type":"offlinemarketstore","workertime":"9:00-20:00"},{"cateid":"exc29275acd5ec76ce24","ctime":"2018-04-18 14:39:08","getermethod":"3","id":"exc57145ad6e80c942f2","marketprice":"1000","name":"农夫大榴莲","ordernum":{"id":"exc57145ad6e80c942f2","ordernum":"10"},"postage":"0","sid":"exc90205acd607d5a95c","subject":"     肉多汁                             ","thumbnail":"/Uploads/000/00/01/55.thumb.jpg","type":"exchangegoods"},{"cateid":"mar12985abc8de32a9e3","ctime":"2018-04-17 14:53:36","floorprice":0,"getermethod":"3","goodstype":"3","id":"mar68765ac2d8080896a","marketprice":"1000.00","name":"河南新鲜苹果","ordernum":{"id":"mar68765ac2d8080896a","ordernum":"1"},"peakprice":0,"postage":"1000","sid":"mar58845abc89fc940f0","subject":"             好吃不贵                      ","thumbnail":"/Uploads/000/00/00/80.thumb.jpg","type":"marketgoods"}]
     * safeobj : {"key":"7326799c6905fc63d61282ab0fe99ba1","now":"1524312114.056630","safestring":"2c3e53014eefa904dc63488c75759642"}
     */

    private int code;
    private BaseResult safeobj;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public BaseResult getSafeobj() {
        return safeobj;
    }

    public void setSafeobj(BaseResult safeobj) {
        this.safeobj = safeobj;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * address : 河南省郑州市二七塔
         * cateid : off51075abcb10bf2256
         * ctime : 2018-04-03 09:16:25
         * discount : 100
         * id : ofs24205ac2d5e98bc4a
         * latitude : 34.75661
         * longitude : 113.649644
         * name : 小李的店
         * ordernum : 0
         * phone : 15617567272
         * starlevel : 3
         * subject : 本店服务优良
         * thumbnail : /Uploads/000/00/00/58.thumb.jpg
         * type : offlinemarketstore
         * workertime : 9:00-20:00
         * getermethod : 3
         * marketprice : 1000
         * postage : 0
         * sid : exc90205acd607d5a95c
         * floorprice : 0
         * goodstype : 3
         * peakprice : 0
         */

        private String address;
        private String cateid;
        private String ctime;
        private String discount;
        private String id;
        private String latitude;
        private String longitude;
        private String name;
        private int ordernum;
        private String phone;
        private int starlevel;
        private String subject;
        private String thumbnail;
        private String type;
        private String workertime;
        private String getermethod;
        private String marketprice;
        private String postage;
        private String sid;
        private String floorprice;
        private String goodstype;
        private String peakprice;
        private String innerprice;
        private String redbeanprice;

        public String getInnerprice() {
            return innerprice;
        }

        public void setInnerprice(String innerprice) {
            this.innerprice = innerprice;
        }

        public String getRedbeanprice() {
            return redbeanprice;
        }

        public void setRedbeanprice(String redbeanprice) {
            this.redbeanprice = redbeanprice;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getCateid() {
            return cateid;
        }

        public void setCateid(String cateid) {
            this.cateid = cateid;
        }

        public String getCtime() {
            return ctime;
        }

        public void setCtime(String ctime) {
            this.ctime = ctime;
        }

        public String getDiscount() {
            return discount;
        }

        public void setDiscount(String discount) {
            this.discount = discount;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getOrdernum() {
            return ordernum;
        }

        public void setOrdernum(int ordernum) {
            this.ordernum = ordernum;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public int getStarlevel() {
            return starlevel;
        }

        public void setStarlevel(int starlevel) {
            this.starlevel = starlevel;
        }

        public String getSubject() {
            return subject;
        }

        public void setSubject(String subject) {
            this.subject = subject;
        }

        public String getThumbnail() {
            return thumbnail;
        }

        public void setThumbnail(String thumbnail) {
            this.thumbnail = thumbnail;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getWorkertime() {
            return workertime;
        }

        public void setWorkertime(String workertime) {
            this.workertime = workertime;
        }

        public String getGetermethod() {
            return getermethod;
        }

        public void setGetermethod(String getermethod) {
            this.getermethod = getermethod;
        }

        public String getMarketprice() {
            return marketprice;
        }

        public void setMarketprice(String marketprice) {
            this.marketprice = marketprice;
        }

        public String getPostage() {
            return postage;
        }

        public void setPostage(String postage) {
            this.postage = postage;
        }

        public String getSid() {
            return sid;
        }

        public void setSid(String sid) {
            this.sid = sid;
        }

        public String getFloorprice() {
            return floorprice;
        }

        public void setFloorprice(String floorprice) {
            this.floorprice = floorprice;
        }

        public String getGoodstype() {
            return goodstype;
        }

        public void setGoodstype(String goodstype) {
            this.goodstype = goodstype;
        }

        public String getPeakprice() {
            return peakprice;
        }

        public void setPeakprice(String peakprice) {
            this.peakprice = peakprice;
        }
    }
}
